{% extends "base.html" %}

{% block page %} Login {% endblock %}

{% block content %}

  {% if form.errors %}
    <p class="error">Sorry, that's not a valid username or password</p>
  {% endif %}
  <table>
  <form action="" method="post"> {% csrf_token %}

  <tr>
    <td><label for="username">User name:</label></td>
    <td><input type="text" name="username" value="" id="username"></td>
  </tr>
   
  <tr>
    <td><label for="password">Password: </label></td>
    <td><input type="password" name="password" value="" id="password"></td>
  </tr>
  <tr>
    <td><input type="submit" value="login" /></td>
    <input type="hidden" name="next" value="/files/" />
</tr>
  </form>
</table>
{% endblock %}